package 线程.作业.线程的三种方式;

import java.util.concurrent.Callable;

public class xiancheng03 implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 80; i++) {
            System.out.println("一起度过"+i+"年");
        }
        return "入墓上棺";
    }
}
